package com.ruoyi.article.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章分类 对象 ac_article_category_referenced
 * 
 * @author rey
 * @date 2022-02-04
 */
public class ArticleCategoryReferenced extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 引用id */
    private Long acrId;

    /** 文章id */
    @Excel(name = "文章id")
    private Long articleId;

    /** 类目id */
    @Excel(name = "类目id")
    private Long categoryId;

    public void setAcrId(Long acrId) 
    {
        this.acrId = acrId;
    }

    public Long getAcrId() 
    {
        return acrId;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("acrId", getAcrId())
            .append("articleId", getArticleId())
            .append("categoryId", getCategoryId())
            .toString();
    }
}
